<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>新增餐厅</title>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css">
<!--公共样式结束-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/module_form.css">
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_memberAdd.css">
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.min.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/jquery.timer.js"></script>
<script src="{$NOW_THEME_URL}/Assets/Js/common.js"></script>
<script src="__PUBLIC__/Plugins/Datepicker/WdatePicker.js"></script>
<style>
.cuisine_span{
	width:100px;
	display:inline-block;
}
.class_input{
	cursor:pointer;
	padding:4px 8px;
    color:#FFF;
    background:#339900;
	margin-right:20px;
}
.font{
	font-size:12px;
}
.form_module{
	height: 459px;
	overflow-y:scroll;
}
.form_module tr td{
	line-height:40px;
}
.form_module tr td input{
	border:1px solid #d3d3d3;
	height:25px;
}
</style>
</head>

<body>
	<div class="page_header">
		<div class="tabbar">
			<ul class="tab clearfix" tabname="tab1">
				<li class="tabhover" show="tab1_0">基础配置</li>
				<li show="tab1_1">配送配置</li>
				<li show="tab1_2">短信配置</li>
				<li show="tab1_3">邮件配置</li>
				<li show="tab1_4">高峰配置</li>
				<li show="tab1_5">公告配置</li>
				<li show="tab1_6">其他配置</li>
			</ul>
		</div>
	</div>
	<div class="page_wraper">
	<form method="post" id="restaurantAdd_form">
		<div id="tab1_0" fortab="tab1">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600">
				<tr>
					<td class="ele_title" width="180px"><label for="cardnum">简体网站名称：<em>*</em></label></td>
					<td class="ele_content">
						<input name="cfg[webnamezh-cn]" value="{$lists.webnamezh-cn}" type="text" id="title"  placeholder="请输入简体网站名称" class="form_ele_text width_200">
					</td>
					<td>[webnamezh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="cardnum">简体站点默认关键字：<em>*</em></label></td>
					<td class="ele_content">
						<input name="cfg[keywordszh-cn]" value="{$lists.keywordszh-cn}" type="text" id="entitle"  placeholder="请输入简体站点默认关键字" class="form_ele_text width_200">
					</td>
					<td>[keywordszh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="d_input">简体站点描述：</label></td>
					<td class="ele_content">
						<textarea name="cfg[descriptionzh-cn]" cols="" rows="" id="remark" placeholder="请输入中文站点描述">{$lists.descriptionzh-cn}</textarea>
					</td>
					<td>[descriptionzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="cardnum">英文网站名称：<em>*</em></label></td>
					<td class="ele_content">
						<input name="cfg[webnameen-us]" value="{$lists.webnameen-us}" type="text" id="title"  placeholder="请输入英文网站名称" class="form_ele_text width_200">
					</td>
					<td>[webnameen-us]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="cardnum">英文站点默认关键字：<em>*</em></label></td>
					<td class="ele_content">
						<input name="cfg[keywordsen-us]" value="{$lists.keywordsen-us}" type="text" id="entitle"  placeholder="请输入英文站点默认关键字" class="form_ele_text width_200">
					</td>
					<td>[keywordsen-us]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="d_input">英文站点描述：</label></td>
					<td class="ele_content">
						<textarea name="cfg[descriptionen-us]" cols="" rows="" id="remark" placeholder="请输入英文站点描述">{$lists.descriptionen-us}</textarea>
					</td>
					<td>[descriptionen-us]</td>
				</tr>
			</table>
		</div>
		<div id="tab1_1" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<!-- <tr>
					<td colspan="2">
						<span class="font">
							1、固定系数是用来控制餐厅配送时间的，默认为1。如果设置为1.2，那么在计算餐厅配送时间时会将结果乘以1.2，得到的配送时间是所需时间的1.2倍。<br/>
							2、规则从大于1米开始。最后一条规则不用填写小于多少米，系统默认查找20公里范围内的餐厅，超过20公里将不查找。
						</span>
					</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">固定系数：</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[xishu]" value="{$lists.xishu}" id="" class="form_ele_text  width_100">[xishu]
					</td>
				</tr> -->
				<table class="page_header">
					<div class="tabbars">
						<ul class="tab clearfix" tabname="tab11">
							<li class="tabhovers" show="tab1_a">北京配置</li>
							<li show="tab1_b">上海配置</li>
							<li show="tab1_c">广州配置</li>
							<li show="tab1_d">顺义配置</li>
						</ul>
					</div>
				</table>
				<table id="tab1_a" fortabs="tab11" class="clearfix form_module">
					<include file="System:beijing"/>
				</table>
				<table id="tab1_b" fortabs="tab11" class="clearfix form_module" style="display:none;">
					<include file="System:shanghai"/>
				</table>
				<table id="tab1_c" fortabs="tab11" class="clearfix form_module" style="display:none;">
					<include file="System:guangzhou"/>
				</table>
				<table id="tab1_d" fortabs="tab11" class="clearfix form_module" style="display:none;">
					<include file="System:shunyi"/>
				</table>
				<tr><td colspan='2' style='height:30px;'></td></tr>
			</table>
		</div>
		<div id="tab1_2" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<tr>
					<td class="ele_title"><label for="address1">接口url</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[smsurl]" value="{$lists.smsurl}" id="" class="form_ele_text  width_200">
					</td>
					<td>[smsurl]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">用户名</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[smsid]" value="{$lists.smsid}" id="" class="form_ele_text  width_200">
					</td>
					<td>[smssid]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">用户密钥</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[smskey]" value="{$lists.smskey}" id="" class="form_ele_text  width_200">
					</td>
					<td>[smskey]</td>
				</tr>	
			</table>
		</div>
		<div id="tab1_3" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<tr>
					<td class="ele_title"><label for="address1">邮件发送方式</label></td>
					<td class="ele_content">
						<input type="radio" name="cfg[emailType]" value="smtp" <eq name="lists.emailType" value="smtp">checked</eq>>Smtp
						<input type="radio" name="cfg[mail]" value="mail" <eq name="lists.emailType" value="mail">checked</eq>>Mail
					</td>
					<td>[emailType]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">SMTP服务器</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailServer]" value="{$lists.emailServer}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailServer]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">服务器端口</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailPort]" value="{$lists.emailPort}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailPort]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">SMTP帐号</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailAccount]" value="{$lists.emailAccount}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailAccount]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">SMTP密码</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailPwd]" value="{$lists.emailPwd}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailPwd]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">发件人署名</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailSignal]" value="{$lists.emailSignal}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailSignal]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">发件人邮箱</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[emailSend]" value="{$lists.emailSend}" id="" class="form_ele_text  width_200">
					</td>
					<td>[emailSend]</td>
				</tr>	
			</table>
		</div>
		<div id="tab1_4" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<tr>
					<td class="ele_title"><label for="address1">北京高峰时段</label></td>
					<td class="ele_content">
						高峰1：<input type="text" name="cfg[gaofeng][beijing][start1]" value="{$lists.gaofeng.beijing.start1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][beijing][end1]"   value="{$lists.gaofeng.beijing.end1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						
						高峰2：<input type="text" name="cfg[gaofeng][beijing][start2]" value="{$lists.gaofeng.beijing.start2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][beijing][end2]"   value="{$lists.gaofeng.beijing.end2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;
						延迟时间：<input type="text" name="cfg[gaofeng][beijing][time]" value="{$lists.gaofeng.beijing.time}" class="form_ele_text width_100">
					</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">上海高峰时段</label></td>
					<td class="ele_content">
						高峰1：<input type="text" name="cfg[gaofeng][shanghai][start1]" value="{$lists.gaofeng.shanghai.start1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][shanghai][end1]"   value="{$lists.gaofeng.shanghai.end1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						
						高峰2：<input type="text" name="cfg[gaofeng][shanghai][start2]" value="{$lists.gaofeng.shanghai.start2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][shanghai][end2]"   value="{$lists.gaofeng.shanghai.end2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;
						延迟时间：<input type="text" name="cfg[gaofeng][shanghai][time]" value="{$lists.gaofeng.shanghai.time}" class="form_ele_text width_100">
					</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">广州高峰时段</label></td>
					<td class="ele_content">
						高峰1：<input type="text" name="cfg[gaofeng][guangzhou][start1]" value="{$lists.gaofeng.guangzhou.start1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][guangzhou][end1]"   value="{$lists.gaofeng.guangzhou.end1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						
						高峰2：<input type="text" name="cfg[gaofeng][guangzhou][start2]" value="{$lists.gaofeng.guangzhou.start2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][guangzhou][end2]"   value="{$lists.gaofeng.guangzhou.end2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;
						延迟时间：<input type="text" name="cfg[gaofeng][guangzhou][time]" value="{$lists.gaofeng.guangzhou.time}" class="form_ele_text width_100">
					</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">顺义高峰时段</label></td>
					<td class="ele_content">
						高峰1：<input type="text" name="cfg[gaofeng][shunyi][start1]" value="{$lists.gaofeng.shunyi.start1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][shunyi][end1]"   value="{$lists.gaofeng.shunyi.end1}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						
						高峰2：<input type="text" name="cfg[gaofeng][shunyi][start2]" value="{$lists.gaofeng.shunyi.start2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">-
						<input type="text" name="cfg[gaofeng][shunyi][end2]"   value="{$lists.gaofeng.shunyi.end2}" class="form_ele_text width_100"
						onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate">&nbsp;&nbsp;&nbsp;&nbsp;
						延迟时间：<input type="text" name="cfg[gaofeng][shunyi][time]" value="{$lists.gaofeng.shunyi.time}" class="form_ele_text width_100">
					</td>
				</tr>
			</table>
		</div>
		<div id="tab1_5" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<tr>
					<td class="ele_title" width="150px"><label for="address1">北京公司公告-简体</label></td>
					<td class="ele_content">
						<textarea name="cfg[beijing_announcementzh-cn]" cols="" rows="" id="remark" placeholder="请输入简体公司公告" class="form_ele_textarea">{$lists.beijing_announcementzh-cn}</textarea>
					</td>
					<td width="150px">[beijing_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">北京公司公告-英文</label></td>
					<td class="ele_content">
						<textarea name="cfg[beijing_announcementen-us]" cols="" rows="" id="remark" placeholder="请输入英文公司公告">{$lists.beijing_announcementen-us}</textarea>
					</td>
					<td>[beijing_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">广州公司公告-简体</label></td>
					<td class="ele_content">
						<textarea name="cfg[guangzhou_announcementzh-cn]" cols="" rows="" id="remark" placeholder="请输入简体公司公告">{$lists.guangzhou_announcementzh-cn}</textarea>
					</td>
					<td>[guangzhou_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">广州公司公告-英文</label></td>
					<td class="ele_content">
						<textarea name="cfg[guangzhou_announcementen-us]" cols="" rows="" id="remark" placeholder="请输入英文公司公告">{$lists.guangzhou_announcementen-us}</textarea>
					</td>
					<td>[guangzhou_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">上海公司公告-简体</label></td>
					<td class="ele_content">
						<textarea name="cfg[shanghai_announcementzh-cn]" cols="" rows="" id="remark" placeholder="请输入简体公司公告">{$lists.shanghai_announcementzh-cn}</textarea>
					</td>
					<td>[shanghai_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">上海公司公告-英文</label></td>
					<td class="ele_content">
						<textarea name="cfg[shanghai_announcementen-us]" cols="" rows="" id="remark" placeholder="请输入英文公司公告">{$lists.shanghai_announcementen-us}</textarea>
					</td>
					<td>[shanghai_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">顺义公司公告-简体</label></td>
					<td class="ele_content">
						<textarea name="cfg[shunyi_announcementzh-cn]" cols="" rows="" id="remark" placeholder="请输入简体公司公告">{$lists.shunyi_announcementzh-cn}</textarea>
					</td>
					<td>[shunyi_announcementzh-cn]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">顺义公司公告-英文</label></td>
					<td class="ele_content">
						<textarea name="cfg[shunyi_announcementen-us]" cols="" rows="" id="remark" placeholder="请输入英文公司公告">{$lists.shunyi_announcementen-us}</textarea>
					</td>
					<td>[shunyi_announcementzh-cn]</td>
				</tr>
			</table>
		</div>
		<div id="tab1_6" fortab="tab1" class="clearfix" style="display:none;">
			<table cellpadding="0" cellspacing="0" class="module_form" width="600" id="guizeform">
				<tr>
					<td class="ele_title"><label for="address1">北京客服热线</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[telbj]" value="{$lists.telbj}" id="" class="form_ele_text  width_200">
					</td>
					<td>[telbj]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">上海客服热线</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[telsh]" value="{$lists.telsh}" id="" class="form_ele_text  width_200">
					</td>
					<td>[telsh]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">广州客服热线</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[telgz]" value="{$lists.telgz}" id="" class="form_ele_text  width_200">
					</td>
					<td>[telgz]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">顺义客服热线</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[telsy]" value="{$lists.telsy}" id="" class="form_ele_text  width_200">
					</td>
					<td>[telsy]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">订单刷新时间</label></td>
					<td class="ele_content">
						<input type="text" name="cfg[refresh]" value="{$lists.refresh}" id="" class="form_ele_text  width_200">毫秒
					</td>
					<td>[refresh]</td>
				</tr>
				<tr>
					<td class="ele_title"><label for="address1">饮料赠送</label></td>
					<td class="ele_content">
						<input type="radio" value="1" name="cfg[drink]"
							<eq name="lists.drink" value="1">checked</eq>>开启&nbsp;&nbsp;&nbsp;&nbsp;
						<input type="radio" value="2" name="cfg[drink]"
							<eq name="lists.drink" value="2">checked</eq>>关闭
					</td>
					<td>[drink]</td>
				</tr>		
			</table>
		</div>
</form>
	</div>
	<div class="page_footer pdtd10">
		<input type="button" name="submit" id="submit" value="提交数据"  class="form_ele_submit"/>
		<input type="reset" name="reset" id="reset" value="清空数据"  class="form_ele_reset"/>
	</div>
</body>
<script type="text/javascript">
	//弹出窗口全局变量
	var api   = frameElement.api, W = api.opener;
	
	$(function(){
		//上传缩略图（4:3）
		var UPLOAD_PATH = '{$UPLOAD_PATH}';
		window.dealSelectFile = function(data){
			$('#thumb_url').val(data.filekey);
			$('.thumb>img').attr('src',UPLOAD_PATH+data.filekey);
		}
		
		/*
		$('.class_input').on('click',function(){
			var level = "{:count($sys)}";
			var num   = parseInt(level)+1;
			
			if(num<=7){
				var html  = '<tr>\
					<td class="ele_title"><label for="address1">规则'+num+'：</label></td>\
					<td class="ele_content">\
						大于<input type="text"   name="sys['+level+'][0]" id="" class="form_ele_text  width_100">米、\
						小于<input type="text"   name="sys['+level+'][1]" id="" class="form_ele_text  width_100">米、 \
						需要<input type="text"   name="sys['+level+'][2]" id="" class="form_ele_text  width_100">分钟、\
						服务费是<input type="text" name="sys['+level+'][3]" id="" class="form_ele_text  width_100">元\
					</td></tr>';
				$(this).attr("level",num);
				$('#guizeform').append(html);
				
				level++;
				//表格隔行换色
				$('.module_form tr:odd').addClass('odd');
				$('.module_form tr:even').addClass('even');
			}else{
				windowApi.lhgdialog.alert('最多添加7条规则',function(){return;});
			}
		});
		*/
		
		//滑动门
		$('.tabbar li').click(function(){
			var tabname = $('.tabbar>ul').attr('tabname');
			$('.tabbar li').removeClass('tabhover');
			$(this).addClass('tabhover');
			
			$('div[fortab="'+tabname+'"]').hide();
			$('#'+$(this).attr('show')).show();
		});
		
		//滑动门
		$('.tabbars li').click(function(){
			var tabname = $('.tabbars>ul').attr('tabname');
			$('.tabbars li').removeClass('tabhovers');
			$(this).addClass('tabhovers');
			
			$('table[fortabs="'+tabname+'"]').hide();
			$('#'+$(this).attr('show')).show();
		});
		
		//表格隔行换色
		$('.module_form tr:odd').addClass('odd');
		$('.module_form tr:even').addClass('even');
		
		//表单操作
		//重置
		$('.form_ele_reset').on('click',function(){
			$('#memberAdd_form').get(0).reset();
		});
		
		//提交
		$('#submit').on('click',function(){
			
			var tipsObj  = windowApi.lhgdialog.tips('正在提交数据...',2,etIcon.loading);
			var postData = $('#restaurantAdd_form').serialize();
			
			$.post("{:U('System/index')}", postData ,function(data){
					windowApi.lhgdialog.tips('数据提交成功！',1,etIcon.success,function(){
						frameApi.close(); //关闭当前窗口
					});
				}, "json");
		});
	});
</script>
</html>
